package losrebellos.lospistoleros.components.application.sprite.base 
{
	import losrebellos.lospistoleros.components.application.sprite.AbstractPApplicationSprite;
	import losrebellos.lospistoleros.core.controller.sprite.IPControllerSprite;
	import losrebellos.lospistoleros.core.model.sprite.IPModelSprite;

	/*
	 *
	 * @author los rebellos
	 *
	 */
	public class BasePApplicationSprite extends AbstractPApplicationSprite 
	{
		/*
		 * 
		 * CONSTRUCTOR
		 * 
		 */
		public function BasePApplicationSprite(name:String = null, type:String = null)
		{
			super(name, type);
		}
		
		
		/*
		 * 
		 * MVC
		 * 
		 */
		override protected function createModel():IPModelSprite
		{
			return new BasePApplicationModelSprite();
		}
		override protected function createController():IPControllerSprite
		{
			return new BasePApplicationControllerSprite(_model, this);
		}
	}
}